Give\PaymentGateways\PayPalCommerce\AjaxRequestHandler S

Total Complexity 46
Dependencies 14
Dependents 1
Total lines 428
Lines of code 219
Logical lines of code 115
Comment lines 122
Methods 13
Properties 6

Methods 13

Method Rating Maintainability Complexity Lines of code
onGetPartnerUrlAjaxRequestHandler()
A
48 8 32
getDonorAddressFromPostedDataForPaypalOrder()
S
60 8 12
removePayPalAccount()
S
50 5 27
onBoardedUserAjaxRequestHandler()
S
52 4 23
returnErrorOnFailedApproveOrderResponse()
S
61 4 12
approveOrder()
S
58 3 15
onBoardingTroubleNotice()
S
53 2 27
getOrderData()
S
53 2 24
createOrder()
S
57 2 18
validateFrontendRequest()
S
69 3 6
updateOrderAmount()
S
63 2 10
validateAdminRequest()
S
74 2 5
__construct()
S
67 1 8